

class BaseError(Exception):
    def __init__(self, msg: str):
        self.msg = msg
        super().__init__(self.msg)


class ManagerError(BaseError):
    """manager error"""


class CommandError(BaseError):
    """command error"""


class CommandRunError(BaseError):
    """command run error"""


class ElementDeclareError(BaseError):
    """element declare error"""


class ClientRunError(BaseError):
    """client run error"""


class ConnectError(BaseError):
    """connect error"""


